<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of User
 *
 * @author Quentin
 */
class User {
    private $id = "";
    private $password = "";
    private $mail = "";
    public function __construct($mail, $password){
        $this->password = $password;
        $this->mail = $mail;
    }
    public function __toString(){
        return "User[mail='$this->mail']";
    }
    public function getPassword(){
        return $this->password;
    }
    public function getMail(){
        return $this->mail;
    }
    public function setMail($mail){
        $this->mail = $mail;
    }
    public function setPassword($password){
        $this->password = $password;
    }
    public function setId($id){
        $this->id = $id;
    }
    public function getId(){
        return $this->id;
    }
}
?>
